package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 滞留件管理对象 erp_retshelf
 * 
 * @author ruoyi
 * @date 2025-03-23
 */
public class ErpRetshelf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 滞留件编号 */
    @Excel(name = "滞留件编号")
    private String retNumber;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 货架编号 */
    @Excel(name = "货架编号")
    private String shelfNumber;

    /** 仓位编号 */
    @Excel(name = "仓位编号")
    private String positionNumber;

    /** 上架备注 */
    @Excel(name = "上架备注")
    private String listNotes;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String userAccount;

    /** 下架日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下架日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date overTime;

    /** 下架日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上架日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private Long handleStatus;

    /** 销毁时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销毁时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date destroyTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRetNumber(String retNumber) 
    {
        this.retNumber = retNumber;
    }

    public String getRetNumber() 
    {
        return retNumber;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setShelfNumber(String shelfNumber) 
    {
        this.shelfNumber = shelfNumber;
    }

    public String getShelfNumber() 
    {
        return shelfNumber;
    }
    public void setPositionNumber(String positionNumber) 
    {
        this.positionNumber = positionNumber;
    }

    public String getPositionNumber() 
    {
        return positionNumber;
    }
    public void setListNotes(String listNotes) 
    {
        this.listNotes = listNotes;
    }

    public String getListNotes() 
    {
        return listNotes;
    }
    public void setUserAccount(String userAccount) 
    {
        this.userAccount = userAccount;
    }

    public String getUserAccount() 
    {
        return userAccount;
    }
    public void setOverTime(Date overTime) 
    {
        this.overTime = overTime;
    }

    public Date getOverTime() 
    {
        return overTime;
    }

    public Date getCreateTime() {return createTime;}

    public void setCreateTime(Date createTime) {this.createTime = createTime;}
    public void setHandleStatus(Long handleStatus) 
    {
        this.handleStatus = handleStatus;
    }

    public Long getHandleStatus() 
    {
        return handleStatus;
    }
    public void setDestroyTime(Date destroyTime) 
    {
        this.destroyTime = destroyTime;
    }

    public Date getDestroyTime() 
    {
        return destroyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("retNumber", getRetNumber())
            .append("orderNumber", getOrderNumber())
            .append("shelfNumber", getShelfNumber())
            .append("positionNumber", getPositionNumber())
            .append("listNotes", getListNotes())
            .append("userAccount", getUserAccount())
            .append("createTime", getCreateTime())
            .append("overTime", getOverTime())
            .append("handleStatus", getHandleStatus())
            .append("destroyTime", getDestroyTime())
            .toString();
    }
}
